package com.liu.sunnyday.dao;

import com.liu.sunnyday.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * chance！Time
 *
 * @author liuqian
 * @date 2022-06-21 11:56
 * *
 */
public interface OrderSettingDao {

    OrderSetting findByOrderDate(Date orderDate);

    void add(OrderSetting os);

    void updateNumber(OrderSetting os);

    List<Map<String, Integer>> getOSDate(String startDate);

    //预约人数加1
    void editReservationsByOrderDate(OrderSetting orderSetting);
}
